<?php /* Smarty version Smarty-3.1.8, created on 2012-06-13 14:54:57
         compiled from "../includes/interface/templates\plainteRechercher.tpl" */ ?>
<?php /*%%SmartyHeaderCode:63754fd8a9c16a8174-22045280%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '081481aa586fd8980783bbf7140a39004806f857' => 
    array (
      0 => '../includes/interface/templates\\plainteRechercher.tpl',
      1 => 1339570374,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '63754fd8a9c16a8174-22045280',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4fd8a9c1818cc7_17598604',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fd8a9c1818cc7_17598604')) {function content_4fd8a9c1818cc7_17598604($_smarty_tpl) {?><?php if (!is_callable('smarty_function_cycle')) include 'C:\\wamp\\www\\trunk\\includes\\interface\\smarty\\libs\\plugins\\function.cycle.php';
?><!-- TEMPLATE ANIMAL RECHERCHER -->

<section id="content">

    <!-- Tableau obligatoire ! Structure du calendrier ! -->
    <table class="ds_box" cellpadding="0" cellspacing="0" id="ds_conclass" style="display: none;">
        <tr>
            <td id="ds_calclass"></td>
        </tr>
    </table>

    <!-- -->

    <h1 class="article"><?php echo $_smarty_tpl->getConfigVariable('PLAINTE_RECHERCHER');?>
</h1>

    <form class="article buttons" name="PlainteRechercher" method="post" action="">

        <fieldset class="form-text">
            <label><?php echo $_smarty_tpl->getConfigVariable('ANIMAL_NO');?>
</label>
            <input type="text" name="Animal"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label><?php echo $_smarty_tpl->getConfigVariable('PERSONNE_NO');?>
</label>
            <input type="text" name="Personne"/> <br/>
        </fieldset>
        
        <fieldset>
            <label><?php echo $_smarty_tpl->getConfigVariable('STATUT');?>
</label>
            <select name="Sexe">
                <option value="Classe"><?php echo $_smarty_tpl->getConfigVariable('CLASSE');?>
</option>
                <option value="Transmis"><?php echo $_smarty_tpl->getConfigVariable('TRANSMIS');?>
</option>
                <option value="EnTraitement"><?php echo $_smarty_tpl->getConfigVariable('EN_TRAITEMENT');?>
</option>
            </select>
        </fieldset>
        
        <fieldset class="form-text date">
            <label><?php echo $_smarty_tpl->getConfigVariable('DATE');?>
</label>
            <p><?php echo $_smarty_tpl->getConfigVariable('ENTRE');?>
<p>
            <input type="text" name="DatePlainte" onClick="ds_sh(this);"/> 
            <p><?php echo $_smarty_tpl->getConfigVariable('ET');?>
</p> 
            <input type="text" name="DatePlainte" onClick="ds_sh(this);"/>
        </fieldset>
        
        <fieldset class="form-actions">
            <input type="submit" name="Rechercher" value="<?php echo $_smarty_tpl->getConfigVariable('RECHERCHER');?>
">
        </fieldset>
    
    </form>

    <h2 class="article"><?php echo $_smarty_tpl->getConfigVariable('RESULTAT_RECHERCHE');?>
</h2>

    <div id="tableau" class="article">
        <table>
            <tr style="background-color:#FC0">
                <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = 'entetes'; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
                    <th><?php echo $_smarty_tpl->tpl_vars['item']->value;?>
</th>
                </tr><?php } ?>      
                <?php  $_smarty_tpl->tpl_vars['plainte'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['plainte']->_loop = false;
 $_from = 'plaintes'; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['plainte']->key => $_smarty_tpl->tpl_vars['plainte']->value){
$_smarty_tpl->tpl_vars['plainte']->_loop = true;
?>
                    <tr style="background: <?php echo smarty_function_cycle(array('values'=>"#eeeeee,#d0d0d0"),$_smarty_tpl);?>
">
                        <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = 'plainte'; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
                            <td><?php echo $_smarty_tpl->tpl_vars['item']->value;?>
</td>
                        <?php } ?>
                    </tr>
                <?php } ?>
            </table>           
        </div>

    </section><?php }} ?>